package mx.example.com.mvpdemo.base;

import android.app.Fragment;
import android.os.Bundle;

/**
 * Created by maixin on 2018/4/10.
 */

public abstract class BaseFragment <T extends BasePresenter> extends Fragment implements BaseView<T> {

    protected T mPresenter;

    @Override
    public void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setPresenter(mPresenter);
    }
}
